<template>
  <div>
    <m-button @click="handleClick">点击我</m-button>
  </div>
</template>

<script>
import MButton from './MButton.vue'

export default {
  components: { MButton },
  methods: {
    async handleClick() {
      await new Promise((resolve) => setTimeout(resolve, 2000))
    },
  },
}
</script>
